<?xml version="1.0" encoding="UTF-8"?>
<!-- 
 Copyright (C) 2014 - Open Source Geospatial Foundation. All rights reserved.
 This code is licensed under the GPL 2.0 license, available at the root
 application directory.
 -->
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>
  <bean class="org.geoserver.platform.ModuleStatusImpl">
    <constructor-arg index="0" value="gs-web-csw"/>
    <constructor-arg index="1" value="GeoServer Catalog Service for the Web (CSW) Web UI"/>
  </bean>
  <bean id="cswServiceDescriptor" class="org.geoserver.csw.web.CSWServiceDescriptionProvider"/>
  <bean id="cswServicePage" class="org.geoserver.web.services.ServiceMenuPageInfo">
    <property name="id" value="csw"/>
    <property name="titleKey" value="csw.title"/>
    <property name="descriptionKey" value="csw.description"/>
    <property name="componentClass" value="org.geoserver.csw.web.CSWAdminPage"/>
    <property name="icon" value="server_csw.png"/>
    <property name="category" ref="servicesCategory"/>
    <property name="serviceClass" value="org.geoserver.csw.CSWInfo"/>
  </bean>
  <bean id="cswLayerConfig" class="org.geoserver.web.publish.LayerConfigurationPanelInfo">
    <property name="id" value="cswConfig"/>
    <property name="titleKey" value="DirectDownloadTabPanel.title"/>
    <property name="componentClass" value="org.geoserver.csw.web.CSWLayerConfig"/>
    <property name="supportedTypes">
      <list>  
        <value>org.geoserver.catalog.CoverageInfo</value>
      </list>
    </property>
  </bean>
</beans>
